package com.company.project.dao;

import com.company.project.core.Mapper;
import com.company.project.model.Organization;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrganizationMapper extends Mapper<Organization> {
    /**
     * 查询机构介绍
     * @return
     */
    List<Organization> selectOrganization();

    /**
     * 修改机构介绍
     */
    Boolean updateOrganization(Organization organization);
    /**
     * 添加机构介绍
     */
    Boolean insertO(Organization organization);
}